//
//  XSPieViewModel.h
//  Test
//
//  Created by xueshan1 on 2018/12/14.
//  Copyright © 2018 xueshan1. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface XSPieViewModel : NSObject

@property(nonatomic,copy)NSString *name;
@property(nonatomic,strong)UIColor *color;
@property(nonatomic,assign)CGFloat value;
@property(nonatomic,assign)CGFloat startP;
@property(nonatomic,assign)CGFloat endP;
@property(nonatomic,assign)CGFloat percentValue;

+ (XSPieViewModel *)modelWithName:(NSString *)name color:(UIColor *)color value:(CGFloat)value;


@end

NS_ASSUME_NONNULL_END
